#!/bin/sh
apk update
apk --no-cache add openssl iptables ip6tables  procps iputils net-tools curl
arch=$(uname -m)
if [[ $arch = "x86_64" ]]; then
	if [ ! -d "/lib64" ];then
		mkdir /lib64
		cp -f /usr/node/sgerrand.rsa.pub /etc/apk/keys/
		apk add /usr/node/glibc-2.35-r0.apk
		cp /lib/ld-linux-x86-64.so.2 /lib64
	fi
fi
rm -rf /var/cache/apk/* 